package com.system.weirdor.search.service;

import com.system.weirdor.search.index.EsCorporate;

import java.util.List;

public interface EsCorporateService {

    /**
     * 创建索引
     * @param list
     */
    public void index(List<EsCorporate> list);

    public List<EsCorporate> search(String keyword);
    EsCorporate save(EsCorporate escorporate);
}
